<?php

namespace common\models\patient;

use Yii;

/**
 * This is the model class for table "by_report_callback".
 *
 * @property int $id
 * @property string|null $date_time 日期
 * @property int $project_id 项目ID
 * @property int $achieve_callback 今日已回访人数
 * @property int $no_callback 今日过期未回访人数
 * @property int $created_at 创建时间
 * @property int $updated_at 更新时间
 */
class ReportCallback extends \common\models\BaseModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'by_report_callback';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['date_time'], 'safe'],
            [['project_id', 'achieve_callback', 'no_callback', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'date_time' => 'Date Time',
            'project_id' => 'Project ID',
            'achieve_callback' => 'Achieve Callback',
            'no_callback' => 'No Callback',
            'created_at' => 'Created At',
            'updated_at' => 'Updated At',
        ];
    }
}
